<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<html>
  <head>    
    <title>获取用户信息</title>
  </head> 
  <body>
   	<%
   		request.setCharacterEncoding("utf-8");
   		String uname=request.getParameter("name");
   		String upwd=request.getParameter("pwd");
   		String usex=request.getParameter("sex");
   		String uclass=request.getParameter("class");
   		String[] uhobby=request.getParameterValues("hobby");
   		String ueva=request.getParameter("eva"); 
   	 %>
   	 <h3>个人信息如下：</h3>
   	 <p>姓名：<%=uname%></p>
   	 <p>密码：<%=upwd%></p>
   	 <p>性别：<%=usex%></p>
   	 <p>班级：<%=uclass%></p>
   	 <p>兴趣爱好：
   	 <%
   	 	for(String str:uhobby) 
   	 		out.print(str+" ");
   	 %></p>
   	 <P>自我评价：<%=ueva%>
  </body>
</html>




